<top>
    <!-- this is the common top begin -->
    <div class="container-fluid" style="margin-right: -15px;margin-left: -15px" xmlns:th="http://www.w3.org/1999/xhtml">
        <div class="row top font-small">
            <div class="col-xs-12">
                <div class="col-xs-2 col-xs-2"></div>
                <div class="col-xs-8 col-xs-8">
                    当前学校：<span>东南大学</span>
                    <div class="float-right">
                    <span th:if="${session.userBase}==null">
                        <a href="javascript:;" class="theme-logIn">登录</a>
                        <a href="" th:href="@{/register}">注册</a>
                    </span>
                        <span th:if="${session.userBase}!=null">
                        <span th:if="${session.userBase.role} == 'buyer'"><a href="javascript:;" th:href="@{/buyer/center}" class="theme-logIn">买家个人中心</a></span>
                        <span th:if="${session.userBase.role} == 'seller'"><a href="javascript:;" th:href="@{/seller/center}" class="theme-logIn">卖家个人中心</a></span>
                        <a href="" th:if="@{/logout}">注销</a>
                    </span>
                    </div>
                </div>
                <div class="col-xs-2 col-xs-2">
                </div>
            </div>
        </div>
    </div>
</top>